package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.SpokenCourseTag;
import com.ruoyi.system.domain.SpokenTeacherTag;
import com.ruoyi.system.mapper.SpokenCourseTagMapper;
import com.ruoyi.system.mapper.SpokenTeacherTagMapper;
import com.ruoyi.system.service.ISpokenCourseTagService;
import com.ruoyi.system.service.ISpokenTeacherTagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SpokenCourseTagImpl implements ISpokenCourseTagService {

    @Autowired
    SpokenCourseTagMapper courseTagMapper;

    @Override
    public int insert(SpokenCourseTag cTag) {
        return courseTagMapper.insert(cTag);
    }

    @Override
    public List<SpokenCourseTag> selectList(SpokenCourseTag cTag) {
        return courseTagMapper.selectList(cTag);
    }

    @Override
    public SpokenCourseTag selectById(Long cTagId) {
        return courseTagMapper.selectById(cTagId);
    }

    @Override
    public int update(SpokenCourseTag cTag) {
        return courseTagMapper.update(cTag);
    }

    @Override
    public int delete(Long cTagId) {
        return courseTagMapper.delete(cTagId);
    }
}
